Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-match-apex flag (Match domain apex) #150

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bebiksior
Copy link

@bebiksior bebiksior commented May 11, 2023

When -match-apex is used, hakrawler will only output URLs that match the apexdomain of the input URL.

For example, if you run:
echo 'https://sub.example.com' | hakrawler -match-apex

hakrawler will only output URLs that end with example.com. This includes URLs like https://example.com and https://test.example.com, but not https://example.net or https://test.net.

@bebiksior bebiksior changed the title Update hakrawler.go -match flag (Match a specific domain apex) May 11, 2023
@bebiksior bebiksior changed the title -match flag (Match a specific domain apex) -match-apex flag (Match domain apex) May 11, 2023
@hakluke
Copy link
Owner

hakluke commented Dec 21, 2024

Unfortunately this won't work in many cases

For example it would include test.com.au and test1.com.au even though they're different apex domains

Copy link
Owner

@hakluke hakluke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will not work for many cases, see comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants